package com.kitty.game.gate.message;

import com.kitty.mina.Modules;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@MessageMeta(module = Modules.MSG_L_LOGIN_PREVIEW_PLAYER)
public class RespLoginPreview extends Message {
    private String sid;
    private String gid;
    private int time;
    private String cookie;
    private String serverName;
    private String ip;
    private short port;
    //后加
    public void setSid(String sid) {
        this.sid = sid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public void setCookie(String cookie) {
        this.cookie = cookie;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public void setPort(short port) {
        this.port = port;
    }

    public String getSid() {
        return this.sid;
    }

    public String getGid() {
        return this.gid;
    }

    public int getTime() {
        return this.time;
    }

    public String getCookie() {
        return this.cookie;
    }

    public String getServerName() {
        return this.serverName;
    }

    public String getIp() {
        return this.ip;
    }

    public short getPort() {
        return this.port;
    }
}
